package com.utils.generalConfig.service;

import com.github.pagehelper.PageInfo;
import com.utils.generalConfig.pojo.GeneralConfig;
import com.utils.common.ServerResponse;

import java.util.List;

/**
* 描述:
* author: srdl
* date: 2022-01-05
*/

public interface GeneralConfigService{
    ServerResponse list();
    ServerResponse pageList(PageInfo pageInfo);
    ServerResponse get(String id);
    ServerResponse addGeneralConfig(GeneralConfig generalConfig);
    ServerResponse deleteGeneralConfig(String id);
    ServerResponse updateGeneralConfig(GeneralConfig generalConfig);
    ServerResponse getByCode(String code);
}
